// 用户信息模块
export default {
    namespaced: true,
    state(){
        return {
            user: {

            }
        }
    },
    mutations: {
        setUser(state, payload){
            // 能这样干吗
            state.user = payload;
        }
    }
}